package com.ruoyi.gas.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 加油站_油种中间表对象 gas_station_type
 * 
 * @author zx
 * @date 2025-05-30
 */
public class GasStationType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 加油站id */
    @Excel(name = "加油站id")
    private Long gasStationId;

    /** 汽油种类id */
    @Excel(name = "汽油种类id")
    private Long gasTypeId;

    /** 汽油价格 */
    @Excel(name = "汽油价格")
    private BigDecimal price;

    /** 逻辑状态 */
    @Excel(name = "逻辑状态")
    private Long del;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setGasStationId(Long gasStationId) 
    {
        this.gasStationId = gasStationId;
    }

    public Long getGasStationId() 
    {
        return gasStationId;
    }

    public void setGasTypeId(Long gasTypeId) 
    {
        this.gasTypeId = gasTypeId;
    }

    public Long getGasTypeId() 
    {
        return gasTypeId;
    }

    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }

    public void setDel(Long del) 
    {
        this.del = del;
    }

    public Long getDel() 
    {
        return del;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("gasStationId", getGasStationId())
            .append("gasTypeId", getGasTypeId())
            .append("price", getPrice())
            .append("del", getDel())
            .toString();
    }
}
